package com.shengyin.ec.service.account;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

import org.apache.commons.beanutils.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.shengyin.ec.model.dao.account.CityDao;
import com.shengyin.ec.model.entity.City;

@Service("cityService")
public class CityServiceImpl  implements CityService{
	
	@Autowired
	CityDao cityDao;
	
	@Override
	public List<City> getCityListByProvinceId(int id){
		List<City> listCity = cityDao.getCityListByProvinceId(id);
		return listCity;
	}
}